Design and implementation of a partial evaluation-based compiler for an asynchronous realtime programming language

نویسنده

  • Markus Freericks
چکیده

This thesis describes a compiler for the asynchronous real-time programming language ALDiSP. Though the language has a complex semantics not suited for easy compilation, the compiler has to generate code for target platforms that have stringent space limitations, and for target applications that have to satisfy hard real-time requirements. To accomplish this feat, the compiler is based upon an abstract interpreter that simulates all possible evaluation paths of the program. In a reconstruction phase, the program is then totally re-created from the information gained during this simulation. The abstract interpreter is an extension of the formal semantics of ALDiSP. Diese Dissertation beschreibt einen Compiler f ur die asynchrone Echtzeit-Programmiersprache ALDiSP. Obwohl diese Sprache eine komplexe Semantik hat, die eine direkte  Ubersetzung ausschlie t, soll der Compiler Code f ur Zielarchitekturen erzeugen, die starken Speicherplatz-Restriktionen unterliegen, und f ur Applikationen, die harte Echtzeitanforderungen erf ullen m ussen. Um dieses Ziel zu erreichen, enth alt der Compiler als zentrale Komponente einen abstrakten Interpreter, der s amtliche m oglichen Ausf uhrungspfade eines Quellprogramms analysiert. In einer Rekonstruktionsphase wird das Programm aus den vom Interpreter erzeugten Annotationen vollstandig neu aufbaut. Der abstrakte Interpreter ist eine Erweiterung der formalen Semantik von ALDiSP.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

SystemJ: A GALS language for system level design

In this paper we present the syntax, semantics, and compilation of a new system-level programming language called SystemJ. SystemJ is a multiclock language supporting the Globally Asynchronous Locally Synchronous (GALS) model of computation. The synchronous reactive (SR) model is used for synchronous parts of the modelled system, and those parts, which represent individual clock-domains, are co...

متن کامل

Declarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey

One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...

متن کامل

A Practical Partial Evaluator for aMulti - Paradigm Declarative Language ? Elvira Albert

Partial evaluation is an automatic technique for program optimization which preserves program semantics. The range of its potential applications is extremely large, as witnessed by successful experiences in several elds. This paper summarizes our ndings in the development of partial evaluation tools for Curry, a modern multi-paradigm declarative language which combines features from functional,...

متن کامل

ML Partial Evaluation using Set-Based Analysis

We describe the design and implementation of an off-line partial evaluator for Standard ML programs. Our partial evaluator consists of two phases: analysis and specialization. Analysis: Set-based analysis is used to compute control flow, data flow and binding-time information. It provides a combination of speed and accuracy that is well suited to partial-evaluation applications: the analysis pr...

متن کامل

Topics in Semantics-based Program Manipulation

Programming is at least as much about manipulating existing code as it is about writing new code. Existing code is modified, for example to make inefficient code run faster, or to accommodate for new features when reusing code; existing code is analyzed, for example to verify certain program properties, or to use the analysis information for code modifications. Semantics-based program manipulat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997